/**
 * @author casazaft
 */
//TODO:  this class is design to build a drag proxy div and use a cache strategy
Package("j2j.effect.dnd").Class("DragProxyBuilder", {
    DragProxyBuilder: function(){
        this.cache = new j2j.utils.HashMap();
        this.build = function(properties){
            var proxydom = document.createElement("div");
            for (var p in properties) {
                proxydom[p] = properties[p];
            }
            document.body.appendChild(proxydom);
            return proxydom;
        };
    },
    Extends: j2j.patterns.Singleton
});
